﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;
using System.Xml.Serialization;

namespace BayNexususer.XMLModel
{
    /// <summary>
    /// 临床护理记录单模型
    /// </summary>
    public class ClinicalNursingModel
    {
        private string _Temper = null;
        /// <summary>
        /// 体温
        /// </summary>
        [DefaultValue(null)]
        public string Temper
        {
            get { return _Temper; }
            set { _Temper = value; }
        }

        private string _Pulse = null;
        /// <summary>
        ///脉搏
        /// </summary>
        [DefaultValue(null)]
        public string Pulse
        {
            get { return _Pulse; }
            set { _Pulse = value; }
        }

        private string _HeartRate = null;
        /// <summary>
        /// 心率
        /// </summary>
        [DefaultValue(null)]
        public string HeartRate
        {
            get { return _HeartRate; }
            set { _HeartRate = value; }
        }

        private string _Breath = null;
        /// <summary>
        /// 呼吸
        /// </summary>
        [DefaultValue(null)]
        public string Breath
        {
            get { return _Breath; }
            set { _Breath = value; }
        }
        /// <summary>
        /// 血压高
        /// </summary>
        private string _Systolicpressure = null;
        public string Systolicpressure
        {
            get { return _Systolicpressure; }
            set { _Systolicpressure = value; }
        }
        /// <summary>
        /// 血压低
        /// </summary>
        private string _Diastolicpressure = null;
        public string Diastolicpressure
        {
            get { return _Diastolicpressure; }
            set { _Diastolicpressure = value; }
        }
        /// <summary>
        /// 血氧饱和度
        /// </summary>
        private string _Spo2 = null;
        public string Spo2
        {
            get { return _Spo2; }
            set { _Spo2 = value; }
        }
        /// <summary>
        /// 翻身
        /// </summary>
        private string _StandUp = null;
        public string StandUp
        {
            get { return _StandUp; }
            set { _StandUp = value; }
        }
        /// <summary>
        /// 输入流体名称
        /// </summary>
        private string _Intakename = null;
        public string Intakename
        {
            get { return _Intakename; }
            set { _Intakename = value; }
        }
        /// <summary>
        /// 输入流体量
        /// </summary>
        private string _Intakevalue = null;
        public string Intakevalue
        {
            get { return _Intakevalue; }
            set { _Intakevalue = value; }
        }

        /// <summary>
        /// 输入流体途径
        /// </summary>
        private string _Intakediway = null;
        public string Intakediway
        {
            get { return _Intakediway; }
            set { _Intakediway = value; }
        }

        /// <summary>
        /// 排出流体名称
        /// </summary>
        private string _Dischargename = null;
        public string Dischargename
        {
            get { return _Dischargename; }
            set { _Dischargename = value; }
        }
        /// <summary>
        /// 排出流体量
        /// </summary>
        private string _Dischargevalue = null;
        public string Dischargevalue
        {
            get { return _Dischargevalue; }
            set { _Dischargevalue = value; }
        }
        /// <summary>
        /// 病情与措施
        /// </summary>
        private string _Tendcontent = null;
        public string Tendcontent
        {
            get { return _Tendcontent; }
            set { _Tendcontent = value; }
        }
        [XmlArrayItem("specialbillele")]
        [XmlArray("specialbilleles")]
        public List<specialbillele> specialbillele { get; set; }
    }

    /// <summary>
    ///血糖记录单模型
    /// </summary>
    public class BloodsugarModel
    {
        private string _WeeHour = null;
        /// <summary>
        /// 凌晨3时
        /// </summary>
        [DefaultValue(null)]
        public string WeeHour
        {
            get { return _WeeHour; }
            set { _WeeHour = value; }
        }

        private string _breadfastbefore = null;
        /// <summary>
        /// 早餐前
        /// </summary>
        [DefaultValue(null)]
        public string breadfastbefore
        {
            get { return _breadfastbefore; }
            set { _breadfastbefore = value; }
        }

        private string _breadfastafter = null;
        /// <summary>
        /// 早餐后2h
        /// </summary>
        [DefaultValue(null)]
        public string breadfastafter
        {
            get { return _breadfastafter; }
            set { _breadfastafter = value; }
        }

        private string _lunchbefore = null;
        /// <summary>
        /// 中餐前
        /// </summary>
        [DefaultValue(null)]
        public string lunchbefore
        {
            get { return _lunchbefore; }
            set { _lunchbefore = value; }
        }

        private string _lunchafter = null;
        /// <summary>
        /// 中餐后2h
        /// </summary>
        [DefaultValue(null)]
        public string lunchafter
        {
            get { return _lunchafter; }
            set { _lunchafter = value; }
        }

        private string _dinnerbefore = null;
        /// <summary>
        /// 晚餐前
        /// </summary>
        [DefaultValue(null)]
        public string dinnerbefore
        {
            get { return _dinnerbefore; }
            set { _dinnerbefore = value; }
        }

        private string _dinnerafter = null;
        /// <summary>
        /// 晚餐后2h
        /// </summary>
        [DefaultValue(null)]
        public string dinnerafter
        {
            get { return _dinnerafter; }
            set { _dinnerafter = value; }
        }

        private string _bedtime = null;
        /// <summary>
        /// 睡前血糖
        /// </summary>
        [DefaultValue(null)]
        public string bedtime
        {
            get { return _bedtime; }
            set { _bedtime = value; }
        }

        private string _sugartime1 = null;
        /// <summary>
        /// 血糖其他1时间
        /// </summary>
        [DefaultValue(null)]
        public string sugartime1
        {
            get { return _sugartime1; }
            set { _sugartime1 = value; }
        }

        private string _sugar1 = null;
        /// <summary>
        /// 血糖其他1值
        /// </summary>
        [DefaultValue(null)]
        public string sugar1
        {
            get { return _sugar1; }
            set { _sugar1 = value; }
        }

        private string _sugartime2 = null;
        /// <summary>
        /// 血糖其他2时间
        /// </summary>
        [DefaultValue(null)]
        public string sugartime2
        {
            get { return _sugartime2; }
            set { _sugartime2 = value; }
        }

        private string _sugar2 = null;
        /// <summary>
        /// 血糖其他2值
        /// </summary>
        [DefaultValue(null)]
        public string sugar2
        {
            get { return _sugar2; }
            set { _sugar2 = value; }
        }

        private string _sugartime3 = null;
        /// <summary>
        /// 血糖其他3时间
        /// </summary>
        [DefaultValue(null)]
        public string sugartime3
        {
            get { return _sugartime3; }
            set { _sugartime3 = value; }
        }

        private string _sugar3 = null;
        /// <summary>
        /// 血糖其他3值
        /// </summary>
        [DefaultValue(null)]
        public string sugar3
        {
            get { return _sugar3; }
            set { _sugar3 = value; }
        }

        private string _sugartime4 = null;
        /// <summary>
        /// 血糖其他4时间
        /// </summary>
        [DefaultValue(null)]
        public string sugartime4
        {
            get { return _sugartime4; }
            set { _sugartime4 = value; }
        }

        private string _sugar4 = null;
        /// <summary>
        /// 血糖其他4值
        /// </summary>
        [DefaultValue(null)]
        public string sugar4
        {
            get { return _sugar4; }
            set { _sugar4 = value; }
        }

        private string _ketonetime1 = null;
        /// <summary>
        /// 血酮其他1时间
        /// </summary>
        [DefaultValue(null)]
        public string ketonetime1
        {
            get { return _ketonetime1; }
            set { _ketonetime1 = value; }
        }

        private string _ketone1 = null;
        /// <summary>
        /// 血酮其他1值
        /// </summary>
        [DefaultValue(null)]
        public string ketone1
        {
            get { return _ketone1; }
            set { _ketone1 = value; }
        }

        private string _ketonetime2 = null;
        /// <summary>
        /// 血酮其他2时间
        /// </summary>
        [DefaultValue(null)]
        public string ketonetime2
        {
            get { return _ketonetime2; }
            set { _ketonetime2 = value; }
        }

        private string _ketone2 = null;
        /// <summary>
        /// 血酮其他2值
        /// </summary>
        [DefaultValue(null)]
        public string ketone2
        {
            get { return _ketone2; }
            set { _ketone2 = value; }
        }
    }
}